package io.renren.modules.substation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.substation.entity.TInfoAreaInfoEntity;
import io.renren.modules.substation.entity.TInfoDevInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 监测设备信息表
 *
 * @author yzx
 * @email sunlightcs@gmail.com
 * @date 2020-06-13 10:15:11
 */
public interface TInfoDevInfoService extends IService<TInfoDevInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<TInfoAreaInfoEntity> queryNoAreaList();

    void updateAreaNullById(TInfoDevInfoEntity o);

    void setAreaNullByAreaId(TInfoDevInfoEntity o);

    TInfoDevInfoEntity queryDevInfoByCondition(TInfoDevInfoEntity tInfoDevInfoEntity);

    List<TInfoDevInfoEntity> queryDevListByCondition(TInfoDevInfoEntity tInfoDevInfoEntity);

    List<TInfoDevInfoEntity> getDevInfoByDevCode(String devCode);

    List<TInfoDevInfoEntity> getDevListByArea(Long areaId);

    TInfoDevInfoEntity getDevInfoByCode(String devCode);
}

